package com.xncoding.design.ZeRenLian.demo4;

public class AfterFilter implements Filter {
    @Override
    public void process(FilterChain chain, Method method) {
        // 1. 执行chain
        chain.process();

        // 2.do something after
        afterProcess();
    }

    private void afterProcess() {
        System.out.println("do something after");
    }
}
